package com.oocl.crm_system;

public class Constant {
	private static String helpString = "Welcome to CRM\n"
			+ "It a help for CRM\n"
			+ "There are some command to handle this system:\n"
			+ "L: it use to find the person, you can find by name or id;it's format is: L name:xxx or L id:xxx\n"
			+ "D: it use to delete a person just by id;it's format is: D xxx\n"
			+ "U: it use to update person's message;it's format is: U id name:xx,sex:xx\n"
			+ "O: it use to show you the all person afer sort by name or id;it's format is: O id / O name\n"
			+ "H: it use to show you the help doucument;it's format is: H or H A, H D...\n"
			+ "Q: it use to exit the system;it's format is: Q\n";
	private static String helpLook = "L: it use to find the person, you can find by name or id;"
			+ "it's format is: L name:xxx or L id:xxx\n";
	private static String helpAdd = "A: it use to add a person to system;"
			+ "it's format is: A name:xxx,id:xxx,sex:xxx,birthday:xxx,address:xxx,call:xxx\n";
	private static String helpDelete = "D: it use to delete a person just by id;"
			+ "it's format is: D xxx\n";
	private static String helpUpdate = "U: update person's message;"
			+ "it's format is: U id name:xxx,id:xxx\n";
	private static String helpSort = "O: it use to show you the all person afer sort by name or id;"
			+ "it's format is: O id / O name\n";
	private static String helpQuit = "Q: it use to exit the system;"
			+ "it's format is: Q\n";	
	private static String helpHelp = "H: it use to show you the help doucument;"
			+ "it's format is: H or H A, H D...\n";
	
	private static Customer[] persons = {
			new Customer(100, "jordan", "boy", "2017/4/2", "oocl", "15914253258"),
			new Customer(101, "nick", "girl", "1994/4/2", "oocl", "112454545454"),
			new Customer(102, "tomy", "boy", "1993/4/2", "oocl", "155474555"),
			new Customer(103, "dan", "boy", "2001/4/2", "oocl", "554333313"),
			new Customer(104, "nicole", "boy", "1990/4/2", "oocl", "12221121212"),
			new Customer(105, "cody", "gril", "1994/4/2", "oocl", "15914253258"),
			new Customer(106, "alax", "boy", "1880/4/2", "oocl", "4534231223"),
			new Customer(107, "john", "gril", "2017/4/2", "oocl", "15914253258"),
			new Customer(108, "lidan", "boy", "2017/4/2", "oocl", "455432421"),
			new Customer(109, "pino", "boy", "2017/4/2", "oocl", "15914253258")
		};
	
	public static Customer[] getPersons() {
		return persons;
	}

	public static void setPersons(Customer[] persons) {
		Constant.persons = persons;
	}

	public static String getHelpQuit() {
		return helpQuit;
	}

	public static void setHelpQuit(String helpQuit) {
		Constant.helpQuit = helpQuit;
	}

	public static String getHelpString() {
		return helpString;
	}

	public static void setHelpString(String helpString) {
		Constant.helpString = helpString;
	}

	public static String getHelpLook() {
		return helpLook;
	}

	public static void setHelpLook(String helpLook) {
		Constant.helpLook = helpLook;
	}

	public static String getHelpAdd() {
		return helpAdd;
	}

	public static void setHelpAdd(String helpAdd) {
		Constant.helpAdd = helpAdd;
	}

	public static String getHelpDelete() {
		return helpDelete;
	}

	public static void setHelpDelete(String helpDelete) {
		Constant.helpDelete = helpDelete;
	}

	public static String getHelpUpdate() {
		return helpUpdate;
	}

	public static void setHelpUpdate(String helpUpdate) {
		Constant.helpUpdate = helpUpdate;
	}

	public static String getHelpSort() {
		return helpSort;
	}

	public static void setHelpSort(String helpSort) {
		Constant.helpSort = helpSort;
	}

	public static String getHelpHelp() {
		return helpHelp;
	}

	public static void setHelpHelp(String helpHelp) {
		Constant.helpHelp = helpHelp;
	}	
	
}
